package com.example.uploadtest.hsf;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;


@Data
public class TestModel {

    @ExcelProperty("公告ID")
    @ColumnWidth(15)
    private Long id;

    @ExcelProperty(value = "公告标题", index = 1)
    @ColumnWidth(25)
    private String title;

    @ExcelProperty(value = "发布时间", index = 2)
    @ColumnWidth(20)
    private String announceTime;

    @ExcelProperty(value = "创建人", index = 3)
    @ColumnWidth(15)
    private String creator;
}
